package com.deer.wms.base.system.model;

import com.deer.wms.common.core.service.QueryCriteria;
import lombok.Data;

import javax.persistence.Column;
import java.util.List;

/**
* Created by  on 2019/10/18.
*/
@Data
public class BillInRecordCriteria extends QueryCriteria {
    private Integer state;
    private String barCode;
    private Integer orderParam;

    private Integer billInRecordId;
    private List<Integer> billInDetailIds;
    private String boxCode;
    /**
     * 采购订单头ID
     */
    private Integer poHeaderId;
    /**
     * 采购订单行ID
     */
    private Integer poLineId;
    /**
     * 发运行ID
     */
    private Integer lineLocationId;
    /**
     * 分配行ID
     */
    private Integer poDistributionId;
    private String itemCode;
    private String batch;
    private String segment;
    private String acceptTime;
    private String receiptNum;
    private String createUserName;
    private String billNo;
    private String pd;
    private String exp;


    private String areaStartTime;
    private String areaEndTime;

    //缓存线
    private String materialBatchId;//批次
    private String carrierId;//托ID
    private String parentMaterialId;//单晶ID
    private String materialProduct;//物料编码
    private String materialQuality;//物料品质
    private String materialId;//单晶编码
    private String specId;//单晶规格
    private String materialCategory;//单晶等级
    private String materialPN;//单晶PN型
    private String rareMetal;//掺杂剂
    private String resistance;//电阻率
    private Integer	brickLength;//单晶长度
    private Integer stockInLength;//入库单晶长度
    private float weight;//入库重量
    private Integer assemblyType;//拼棒类型
    private Integer diameter;//直径
    private Integer sideLength;//边长
    private String comment;//备注
    private String color;//颜色

    public String getMaterialBatchId() {
        return materialBatchId;
    }

    public void setMaterialBatchId(String materialBatchId) {
        this.materialBatchId = materialBatchId;
    }

    public String getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(String carrierId) {
        this.carrierId = carrierId;
    }

    public String getParentMaterialId() {
        return parentMaterialId;
    }

    public void setParentMaterialId(String parentMaterialId) {
        this.parentMaterialId = parentMaterialId;
    }

    public String getMaterialProduct() {
        return materialProduct;
    }

    public void setMaterialProduct(String materialProduct) {
        this.materialProduct = materialProduct;
    }

    public String getMaterialQuality() {
        return materialQuality;
    }

    public void setMaterialQuality(String materialQuality) {
        this.materialQuality = materialQuality;
    }

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getSpecId() {
        return specId;
    }

    public void setSpecId(String specId) {
        this.specId = specId;
    }

    public String getMaterialCategory() {
        return materialCategory;
    }

    public void setMaterialCategory(String materialCategory) {
        this.materialCategory = materialCategory;
    }

    public String getMaterialPN() {
        return materialPN;
    }

    public void setMaterialPN(String materialPN) {
        this.materialPN = materialPN;
    }

    public String getRareMetal() {
        return rareMetal;
    }

    public void setRareMetal(String rareMetal) {
        this.rareMetal = rareMetal;
    }

    public String getResistance() {
        return resistance;
    }

    public void setResistance(String resistance) {
        this.resistance = resistance;
    }

    public Integer getBrickLength() {
        return brickLength;
    }

    public void setBrickLength(Integer brickLength) {
        this.brickLength = brickLength;
    }

    public Integer getStockInLength() {
        return stockInLength;
    }

    public void setStockInLength(Integer stockInLength) {
        this.stockInLength = stockInLength;
    }

    public float getWeight() {
        return weight;
    }

    public void setWeight(float weight) {
        this.weight = weight;
    }

    public Integer getAssemblyType() {
        return assemblyType;
    }

    public void setAssemblyType(Integer assemblyType) {
        this.assemblyType = assemblyType;
    }

    public Integer getDiameter() {
        return diameter;
    }

    public void setDiameter(Integer diameter) {
        this.diameter = diameter;
    }

    public Integer getSideLength() {
        return sideLength;
    }

    public void setSideLength(Integer sideLength) {
        this.sideLength = sideLength;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getAreaStartTime() {
        return areaStartTime;
    }

    public void setAreaStartTime(String areaStartTime) {
        this.areaStartTime = areaStartTime;
    }

    public String getAreaEndTime() {
        return areaEndTime;
    }

    public void setAreaEndTime(String areaEndTime) {
        this.areaEndTime = areaEndTime;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public String getPd() {
        return pd;
    }

    public void setPd(String pd) {
        this.pd = pd;
    }

    public String getExp() {
        return exp;
    }

    public void setExp(String exp) {
        this.exp = exp;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    private List<Integer> billInRecordIds;
    private Integer itemId;

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public Integer getOrderParam() {
        return orderParam;
    }

    public void setOrderParam(Integer orderParam) {
        this.orderParam = orderParam;
    }

    public Integer getPoHeaderId() {
        return poHeaderId;
    }

    public void setPoHeaderId(Integer poHeaderId) {
        this.poHeaderId = poHeaderId;
    }

    public Integer getPoLineId() {
        return poLineId;
    }

    public void setPoLineId(Integer poLineId) {
        this.poLineId = poLineId;
    }

    public Integer getLineLocationId() {
        return lineLocationId;
    }

    public void setLineLocationId(Integer lineLocationId) {
        this.lineLocationId = lineLocationId;
    }

    public Integer getPoDistributionId() {
        return poDistributionId;
    }

    public void setPoDistributionId(Integer poDistributionId) {
        this.poDistributionId = poDistributionId;
    }

    public List<Integer> getBillInDetailIds() {
        return billInDetailIds;
    }

    public void setBillInDetailIds(List<Integer> billInDetailIds) {
        this.billInDetailIds = billInDetailIds;
    }

    public String getBoxCode() {
        return boxCode;
    }

    public void setBoxCode(String boxCode) {
        this.boxCode = boxCode;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getSegment() {
        return segment;
    }

    public void setSegment(String segment) {
        this.segment = segment;
    }

    public String getAcceptTime() {
        return acceptTime;
    }

    public void setAcceptTime(String acceptTime) {

        this.acceptTime = acceptTime;
    }

    public String getReceiptNum() {
        return receiptNum;
    }

    public void setReceiptNum(String receiptNum) {
        this.receiptNum = receiptNum;
    }

    public List<Integer> getBillInRecordIds() {
        return billInRecordIds;
    }

    public void setBillInRecordIds(List<Integer> billInRecordIds) {
        this.billInRecordIds = billInRecordIds;
    }

    public BillInRecordCriteria() {
    }

    public BillInRecordCriteria(Integer state, String barCode) {
        this.state = state;
        this.barCode = barCode;
    }

    public BillInRecordCriteria(Integer state,Integer orderParam) {
        this.state = state;
        this.orderParam = orderParam;
    }

    public BillInRecordCriteria(Integer orderParam, List<Integer> billInDetailIds) {
        this.orderParam = orderParam;
        this.billInDetailIds = billInDetailIds;
    }

    public BillInRecordCriteria(Integer orderParam, List<Integer> billInDetailIds, String boxCode) {
        this.orderParam = orderParam;
        this.billInDetailIds = billInDetailIds;
        this.boxCode = boxCode;
    }

    public BillInRecordCriteria(Integer state, Integer poHeaderId, Integer poLineId, Integer lineLocationId, Integer poDistributionId) {
        this.state = state;
        this.poHeaderId = poHeaderId;
        this.poLineId = poLineId;
        this.lineLocationId = lineLocationId;
        this.poDistributionId = poDistributionId;
    }

    public BillInRecordCriteria(Integer state, String batch, Integer poDistributionId) {
        this.poDistributionId = poDistributionId;
        this.state = state;
        this.batch = batch;
    }

    public BillInRecordCriteria(String receiptNum) {
        this.receiptNum = receiptNum;
    }

    public BillInRecordCriteria(List<Integer> billInRecordIds,Integer orderParam) {
        this.billInRecordIds = billInRecordIds;
        this.orderParam = orderParam;
    }

    public BillInRecordCriteria(String itemCode, String batch,Integer state) {
        this.itemCode = itemCode;
        this.batch = batch;
        this.state = state;
    }
}
